import Layout from '@neu/biz-core/layout'

export default [
  {
    path: '/standingbook',
    name: 'standingbook',
    redirect: 'noRedirect',
    alwaysShow: true,
    meta: {
      title: '资产台账',
      icon: 'fixed',
      module: 'dcam',
      code: 'menu_standingbook'
    },
    component: Layout,
    children: [
      {
        path: 'sl/fixedAsset',
        name: 'standingbook_sl_fixedAsset',
        meta: {
          title: '固定资产(总行)',
          icon: 'right-arrow',
          module: 'dcam',
          belongs: 'sl',
          categories: '1',
          code: 'menu_sl_standingbook_fixedAssetMaintenance'
        },
        component: () => import('@neu/dcam-ui/views/fixedAsset')
      },
      {
        path: 'sl/lowvaluegoods',
        name: 'standingbook_sl_lowvaluegoods',
        meta: {
          title: '低值易耗(总行)',
          icon: 'right-arrow',
          module: 'dcam',
          belongs: 'sl',
          categories: '2',
          code: 'menu_sl_standingbook_lowvaluegoods'
        },
        component: () => import('@neu/dcam-ui/views/fixedAsset')
      },
      {
        path: 'sl/consumptions',
        name: 'standingbook_sl_consuptions',
        meta: {
          title: '消耗品类(总行)',
          icon: 'right-arrow',
          module: 'dcam',
          belongs: 'sl',
          categories: '3',
          code: 'menu_sl_standingbook_consumptions'
        },
        component: () => import('@neu/dcam-ui/views/fixedAsset')
      },
      {
        path: 'kj/fixedAsset',
        name: 'standingbook_kj_fixedAsset',
        meta: {
          title: '固定资产(科技)',
          icon: 'right-arrow',
          module: 'dcam',
          belongs: 'kj',
          categories: '1',
          code: 'menu_kj_standingbook_fixedAssetMaintenance'
        },
        component: () => import('@neu/dcam-ui/views/fixedAsset')
      },
      {
        path: 'kj/lowvaluegoods',
        name: 'standingbook_kj_lowvaluegoods',
        meta: {
          title: '低值易耗(科技)',
          icon: 'right-arrow',
          module: 'dcam',
          belongs: 'kj',
          categories: '2',
          code: 'menu_kj_standingbook_lowvaluegoods'
        },
        component: () => import('@neu/dcam-ui/views/fixedAsset')
      },
      {
        path: 'kj/consumptions',
        name: 'standingbook_kj_consumptions',
        meta: {
          title: '消耗品类(科技)',
          icon: 'right-arrow',
          module: 'dcam',
          belongs: 'kj',
          categories: '3',
          code: 'menu_kj_standingbook_consumptions'
        },
        component: () => import('@neu/dcam-ui/views/fixedAsset')
      },
      {
        path: 'kj/goodsfile',
        name: 'standingbook_kj_goodsfile',
        meta: {
          title: '资产配件(科技)',
          icon: 'right-arrow',
          module: 'dcam',
          belongs: 'kj',
          code: 'menu_kj_standingbook_goodsfile'
        },
        component: () => import('@neu/dcam-ui/views/goodsFile')
      }
    ]
  }
]
